package com.allwees.bs.module.scm.service;

import com.allwees.bs.module.base.service.BoService;
import com.allwees.bs.module.scm.bo.ScmOrderShippingBo;
import com.allwees.bs.module.scm.entity.ScmShippingOrder;
import com.allwees.bs.module.scm.req.EnteredWarehouseReq;
import com.allwees.bs.module.scm.req.RefundShippingOrderSkuReq;
import com.allwees.bs.module.scm.req.ShippingOrderEnteredReq;

/**
 * scm 物流发货单
 *
 * @author
 * @since
 */
public interface ScmShippingOrderService extends BoService<ScmShippingOrder> {

    /**
     * 创建
     *
     * @return
     */
    boolean create(ScmOrderShippingBo shippingBo);

    /**
     * 包裹入仓
     *
     * @return
     */
    void logisticsPackEnteredWarehouse(ShippingOrderEnteredReq req);

    /**
     * sku 入仓
     *
     * @return
     */
    void enteredWarehouse(EnteredWarehouseReq eq);

    /**
     * 退货
     *
     * @return
     */
    void refund(RefundShippingOrderSkuReq req);
}
